using System.Collections.Generic;
using System.Text;
using System;
using NHibernate.Collection;
using NHibernate.Mapping;
using Iesi.Collections;
namespace JVLMRP 
{
    public class MRPMasterExport
    {
        string masterexportcode;
        string customercode;
        DateTime createdtime;
        string createdusercode;
        string modifiedusercode;
        int typeexport;
        string notes;
        int exporttypecode;
        ISet mrpdetailsexportList;

        public MRPMasterExport()
        {

        }

        public virtual string Masterexportcode
        {
            get { return masterexportcode; }
            set { masterexportcode = value; }
        }

        public virtual string Customercode
        {
            get { return customercode; }
            set { customercode = value; }
        }

        public virtual DateTime Createdtime
        {
            get { return createdtime; }
            set { createdtime = value; }
        }

        public virtual string Createdusercode
        {
            get { return createdusercode; }
            set { createdusercode = value; }
        }

        public virtual string Modifiedusercode
        {
            get { return modifiedusercode; }
            set { modifiedusercode = value; }
        }

        public virtual int Typeexport
        {
            get { return typeexport; }
            set { typeexport = value; }
        }

        public virtual string Notes
        {
            get { return notes; }
            set { notes = value; }
        }

        public virtual int Exporttypecode
        {
            get { return exporttypecode; }
            set { exporttypecode = value; }
        }

        public virtual ISet MrpdetailsexportList
        {
            get { return mrpdetailsexportList; }
            set { mrpdetailsexportList = value; }
        }

        public override string ToString()
        {
            String s = "";
            if (masterexportcode != null)
                s += "masterexportcode : " + masterexportcode.ToString() + "\n";
            else
                s += "masterexportcode : null\n";
            if (customercode != null)
                s += "customercode : " + customercode.ToString() + "\n";
            else
                s += "customercode : null\n";
            if (createdtime != null)
                s += "createdtime : " + createdtime.ToString() + "\n";
            else
                s += "createdtime : null\n";
            if (createdusercode != null)
                s += "createdusercode : " + createdusercode.ToString() + "\n";
            else
                s += "createdusercode : null\n";
            if (modifiedusercode != null)
                s += "modifiedusercode : " + modifiedusercode.ToString() + "\n";
            else
                s += "modifiedusercode : null\n";
            if (typeexport != null)
                s += "typeexport : " + typeexport.ToString() + "\n";
            else
                s += "typeexport : null\n";
            if (notes != null)
                s += "notes : " + notes.ToString() + "\n";
            else
                s += "notes : null\n";
            if (exporttypecode != null)
                s += "exporttypecode : " + exporttypecode.ToString() + "\n";
            else
                s += "exporttypecode : null\n";
            return s;
        }
    }
}
